<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>更新男朋友</title>
</head>
<body>
	<form action="${pageContext.request.contextPath }/updataBoyFriend" method="post">
		名字：<input type="text" name="bname" value="${boyFriend.bname }" required="required"><br>
		<input type="hidden" name="bage" value="${boyFriend.bage }"><br>
		描述：<input type="text" name="bdetail" value="${boyFriend.bdetail }" required="required"><br>
		外键id：<input type="number" name="id" value="${boyFriend.id }" required="required"><br>
		<input type="submit" value="更新一个男朋友">
	</form>
</body>
</html>